<!-- 简易搜索弹出框 -->
<template>
  <div class="simple-modal">
    <a-modal
      :maskClosable="false"
      :title="title+'-数据检索'"
      v-model="simpleModal.visible">
    </a-modal>
  </div>
</template>

<script>
export default {
  name: '',
  components: {
  },
  props: {
    simpleModal: {
      type: Object,
      default: () => {}
    }
  },
  data () {
    return {
      title: '' // 弹出框页面标题
    }
  },
  watch: {
    $route (route) {
      this.title = route.meta.title
    }
  },
  created () {
    this.title = this.$route.meta.title
  },
  mounted () {
  },
  methods: {
  }
}
</script>
<style lang="less" scoped>
</style>
